Skip to content

Guard the off-site link launch in the main web view#109

Open
jim-daf wants to merge 1 commit into
lbr38:develfrom
jim-daf:fix-webview-link-crash
Open

Guard the off-site link launch in the main web view#109
jim-daf wants to merge 1 commit into
lbr38:develfrom
jim-daf:fix-webview-link-crash

Conversation

@jim-daf

@jim-daf jim-daf commented Jun 4, 2026

Copy link
Copy Markdown

This wraps the off-site link launch in the main web view so the app no longer crashes when there is no app available to open the link.

Right now off-site links are passed to startActivity directly, which throws ActivityNotFoundException when there is no handler. With this change the link still opens when a handler exists, and otherwise the exception is caught and a short message is shown.

Closes #108.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Off-site links can crash the app with ActivityNotFoundException

1 participant